<%-- 
    Document   : index
    Created on : 27/09/2012, 17:08:32
    Author     : pfjava
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Programa de Testes</title>
        <link  href="css/geral.css" rel="stylesheet" type="text/css" />
        <link rel="shortcut icon" href="favicon.ico" />
        
    </head>
    <body>
        <div id="tudo">
            
            <div id="cabecalho"></div>
            
            <div id="menu">
                <jsp:include page="menuprincipal.jsp"></jsp:include>
            </div>
            
            <div id="principal">
                <table border="0" align="center">
                    <tbody>
                        <tr>
                            <td><h1>BEM VINDO AO SISTEMA DE GESTÃO DE ERROS</h1></td>
                        </tr>
                    </tbody>
                </table>
                
                <%  String usuariolog = (String)session.getAttribute("usuario");
						if(usuariolog == null){
				%>
				<br/>
                <form action="autenticacao.jsp" method="post">
                <table align="center">
                		<thead>
                			<tr>
                				<th colspan="3">
                				Logar no Sistema
                				</th>
                			</tr>
                		</thead>
                		<tr>
                			<td>
                				Usuário: <input type="text" name="usuario"/>
                			</td>
                			<td>
                				Senha: <input type="password" name="senha"/>
                			</td>
                			<td colspan="2" align="center">
                				<input type="submit" value="Logar"/>
                			</td>
                		</tr>
                	</table>
                </form>
                <% };%>
            </div>
        </div>
    </body>
</html>
